$OpenBSD: patch-src_main_gram_y,v 1.9 2014/05/20 11:02:12 dcoppa Exp $
--- src/main/gram.y.orig	Fri May  2 11:46:48 2014
+++ src/main/gram.y	Fri May  2 11:47:10 2014
@@ -205,7 +205,7 @@ static PROTECT_INDEX srindex;
 
 static int mbcs_get_next(int c, wchar_t *wc)
 {
-    int i, res, clen = 1; char s[9];
+    int i, res, clen = 1; signed char s[9];
     mbstate_t mb_st;
 
     s[0] = (char) c;
